package com.bwie.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bwie.pojo.ServiceType;
import com.bwie.service.ServiceTypeService;
import com.bwie.mapper.ServiceTypeMapper;
import com.bwie.utils.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author Yoo19
* @description 针对表【service_type】的数据库操作Service实现
* @createDate 2025-07-11 10:07:01
*/
@Service
public class ServiceTypeServiceImpl extends ServiceImpl<ServiceTypeMapper, ServiceType>
    implements ServiceTypeService{
    @Autowired
    private ServiceTypeMapper serviceTypeMapper;
    @Override
    public R getTypeList() {
        List<ServiceType> serviceTypes = serviceTypeMapper.selectList(null);
        return R.OK(serviceTypes);
    }
}




